﻿<Application 
    x:Class="ChinaUnicom.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:sys="clr-namespace:System;assembly=mscorlib">

    <!--Application Resources-->
    <Application.Resources>
        <!-- 87 percent Black -->
        <Color x:Key="LightPhoneForegroundColor">#DE000000</Color>
        <!-- 100 percent White-->
        <Color x:Key="LightPhoneBackgroundColor">#FFFFFFFF</Color>
        <!-- System chrome color -->
        <Color x:Key="LightPhoneChromeColor">#FFDDDDDD</Color>
        <!-- 100 percent White -->
        <Color x:Key="DarkPhoneForegroundColor">#FFFFFFFF</Color>
        <!-- 100 percent Black -->
        <Color x:Key="DarkPhoneBackgroundColor">#FF000000</Color>
        <!-- System chrome color -->
        <Color x:Key="DarkPhoneChromeColor">#FF1F1F1F</Color>        
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>